package com.kitty.game.task.model.product.targetparam;

import com.kitty.game.task.model.product.TaskTargetParam;
import org.nutz.lang.util.NutMap;

import java.util.List;

/**
 * 对话任务参数
 */
public class TalkTargetParam extends TaskTargetParam {
    /**对话列表，元素为对话配置的id*/
    private List<Integer> talkList;

    @Override
    public TaskTargetParam parseParam(NutMap nutMap) {
        talkList = (List<Integer>) nutMap.get("talkList");
        return this;
    }

    public List<Integer> getTalkList() {
        return talkList;
    }
}
